package me.ywd.seckill.entity;

import java.util.Date;

/**
 * Created by Administrator on 2016/11/8 0008.
 */
public class Seckilled {
    private long seckillId;
    private String phone;
    private short state;
    private Date createTime;

    private SeckillProduct seckillProduct;

    @Override
    public String toString() {
        return "Seckilled{" +
                "seckillId=" + seckillId +
                ", phone='" + phone + '\'' +
                ", state=" + state +
                ", createTime=" + createTime +
                ", seckillProduct=" + seckillProduct +
                '}';
    }

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public SeckillProduct getSeckillProduct() {
        return seckillProduct;
    }

    public void setSeckillProduct(SeckillProduct seckillProduct) {
        this.seckillProduct = seckillProduct;
    }
}
